import request from '../utils/request'
// 封装注册是手机号码否被注册过
export function docCheckPhone (params) {
  return request.post('/user/docheckphone', params)
}
//   封装发送短信验证码
export function doSendMsgCode (params) {
  return request.post('/user/dosendmsgcode', params)
}
//   验证短信验证码
export function doCheckCode (params) {
  return request.post('/user/docheckcode', params)
}
//   注册接口
export function doFinishRegister (params) {
  return request.post('/user/dofinishregister', params)
}
// 登录接口
export function login (params) {
  return request.post('/user/login', params)
}